package com.itzhoun.component;

import lombok.extern.log4j.Log4j;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author 周楠
 * @Date 2022/08/17/下午 10:55
 */
@Slf4j
@Component("nnTask")
public class Task {

    public void say(){
        log.info("任务执行咯:{}", new Date());
    }
}
